/*
 * Created on Feb 19, 2004
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package ModuleBuilder.model;

import java.io.*;


/**
 * @author Milton  Soong
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 * The type is a class name, either a String, an Integer (with a range) and a starting value, incr value, 
 * or an immutable integer (later on maybe a enum range of String a la "Good", "Shaken", "Broken" or some such).
 * 
 * The val can be of the following classes:
 * 1) String
 * 2) Integer
 * 3) a SpinnerModel class
 */
public class UnitProfileAttribute implements Serializable {
	String name;
	
	// 
	Object val; // !!! Convert to an enumerated type

	/**
	 * @return
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return
	 */
	public Object getVal() {
		return val;
	}

	/**
	 * @param string
	 */
	public void setName(String string) {
		name = string;
	}

	/**
	 * @param object
	 */
	public void setVal(Object object) {
		val = object;
	}

}
